package com.itheima.pipeline;

import us.codecraft.webmagic.ResultItems;
import us.codecraft.webmagic.Task;
import us.codecraft.webmagic.pipeline.Pipeline;

//持久化到数据库的pipeline
public class DBPipeline implements Pipeline {

	@Override
	public void process(ResultItems rs, Task task) {
		System.out.println("持久化到数据库中："+rs.get("title"));
		
		System.out.println("\t\n");
		System.out.println("\t\n");
	}

}
